package example.mapper;

import example.dto.AddSecondmentDTO;
import example.dto.GetSecListDTO;
import example.dto.SearchSecondmentDTO;
import example.entity.Secondment;

import java.util.List;
import java.util.Set;

public interface SecondmentMapper {
    /** 保存借调事项名称 */
    void addSecondmentName(AddSecondmentDTO addSecondmentDTO);

    void savePdfInfoById(Secondment secondment);

    void updateSecondmentName(Secondment secondment);

    Secondment getById(Long secondmentId);

    List<Secondment> listSecondmentByLevel(Long levelId);

    List<Secondment> listSecondmentByLevel1(Long levelId);

    void saveResponseZipFile(Secondment rSecondment);

    String getResponseZipPath(Long secondmentId);

    Secondment getNameById(Long secondmentId);

    String getPdfNameById(Long secondmentId);

    List<Secondment> listById(GetSecListDTO getSecListDTO);

    void changeSecondmentState(Long secondmentId);

    void deleteBySecondmentId(Long secondmentId);

    void saveConfirmPdfInfoById(Secondment secondment);

    String getConfirmName(Long secondmentId);

    Set<Long> getSecondmentIdByDepartmentName(String departmentName);

}
